package com.dingwei.superiordiary.adapter.easyViewHolder;

import android.view.ViewGroup;
import android.widget.TextView;

import com.dingwei.superiordiary.R;
import com.dingwei.superiordiary.base.LogisticsBean;
import com.jude.easyrecyclerview.adapter.BaseViewHolder;

import butterknife.Bind;
import butterknife.ButterKnife;

/**
 * Created time 2018/2/27.
 * Creator 南柯一梦丶 on
 * Personal signature 余生还长 何必慌张
 * Page description :
 */

public class LogisticsHolder extends BaseViewHolder<LogisticsBean.DataBean> {
    @Bind(R.id.tv_name)
    TextView tvName;

    public LogisticsHolder(ViewGroup parent) {
        super(parent, R.layout.item_logistics);
        ButterKnife.bind(this, itemView);
    }

    @Override
    public void setData(LogisticsBean.DataBean data) {
        super.setData(data);
        tvName.setText(data.shipping_name);

    }
}
